package com.jd.platform.gobrs.client.hcache;

/**
 * @program: gobrs
 * @ClassName AbstractWrapper
 * @description: Abstract level Hcache
 * @author: sizegang
 * @create: 2022-01-09 00:28
 * @Version 1.0
 **/
public abstract class AbstractWrapper implements Wrapper {


    @Override
    public Object getValue(String key) {
        return getValue(key);
    }

    @Override
    public Object getValue(String key, Object defaultValue) {
        Object value = getValue(key);
        if (value == null) {
            return defaultValue;
        }
        return null;
    }



}
